aboutsummaryrefslogtreecommitdiff
path: root/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.backends.wasm.structure.binary.WasmBinaryFormatInstructionsTests]/[method:canSerializeMemoryFill(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected
blob: e12f7caa8bdc5afb7dbc14058dc0e2be1e78d26f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
module.wasm:	file format wasm 0x1

Section Details:

Type[1]:
 - type[0] () -> nil
Function[1]:
 - func[0] sig=0 <f>
Memory[1]:
 - memory[0] pages: initial=0
Code[1]:
 - func[0] size=14 <f>
Custom:
 - name: "linking"
  - symbol table [count=1]
   - 0: F <f> func=0 [ binding=global vis=default ]
Custom:
 - name: "name"
 - func[0] <f>

Code Disassembly:

00002f func[0] <f>:
 000030: 41 e4 00                   | i32.const 100
 000033: 41 e5 00                   | i32.const 101
 000036: 41 e6 00                   | i32.const 102
 000039: fc 0b 00                   | memory.fill 0
 00003c: 0b                         | end